using System;
using System.Data;
using System.Collections.Generic;
namespace eTMS.DAO{
	/********************************BEGIN PhanNganhSinhVienDAO****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:10/08/2010 58:03:30</para>
	/// <para>Class Name: PhanNganhSinhVienDAO</para>
	/// <para>Description: Class access to table PhanNganhSinhVien in database. Class for coder code here</para>
	///</summary>

	
	public partial class PhanNganhSinhVienDAO{
        public bool DeleteBySinhVien_IDNganhHoc_IDKhoaHoc_ID(int SinhVien_ID,int NganhHoc_ID,int KhoaHoc_ID)
        {
            IDbCommand cmd = this.CreateDeleteAllCommand();
            cmd.CommandText += " WHERE SinhVien_ID=" + SinhVien_ID.ToString() + " AND NganhHoc_ID=" + NganhHoc_ID.ToString() + " AND KhoaHoc_ID=" + KhoaHoc_ID.ToString();
            return this.ExcuteNoneQuery(cmd);
        }

	}
	/*****************************************************************************************************/
	/**********************************END PhanNganhSinhVienDAO*****************************************/
	/*****************************************************************************************************/
}

